
package stratego.java.ssm.piece;

import java.awt.Image;

/**
 * <code>public class EmptyPiece extends Piece</code>
 * <p>
 * This class represents an empty location on the board. In an effort to speed up graphics
 * processing, this class does not have any images
 * </p>
 * 
 * @author Mark Aligbe
 * 
 */
public class EmptyPiece extends Piece
{
	
	/**
	 * <code>public EmptyPiece()</code>
	 * <p>
	 * Constructs a piece with a rank of 2.
	 * </p>
	 */
	public EmptyPiece()
	{
		super(-2);
	}
	
	@Override
	public boolean isBomb()
	{
		return false;
	}
	
	@Override
	public boolean isFlag()
	{
		return false;
	}
	
	@Override
	public boolean isSpy()
	{
		return false;
	}
	
	@Override
	public boolean isScout()
	{
		return false;
	}
	
	@Override
	public boolean isEmpty()
	{
		return true;
	}
	
	@Override
	public boolean isBlock()
	{
		return false;
	}
	
	@Override
	public boolean isMiner()
	{
		return false;
	}
	
	@Override
	public String toString()
	{
		return "Empty";
	}
	
	@Override
	public Image getImage()
	{
		return null;
	}
	
	@Override
	public Image getOriginalImage()
	{
		return null;
	}
	
	@Override
	public Image getBack()
	{
		return null;
	}
}
